package game.movie
{
	import game.constHlp.RoleActions;
	import game.view.Bullet;
	
	import laya.display.Animation;

	/**
	 * 主角
	 *@date 2017-2-20 下午5:32:27
	 *@author zhouhonghui
	 */
	public class RoleMovie extends GRoleBaseMovie
	{
		public function RoleMovie()
		{
			super();
			action = RoleActions.FLY;
		}
		protected override function setBulletPos(b:Bullet):void
		{
			b.x = this.x+45;
			b.y = this.y-22;
		}
		public override function set action(value:int):void
		{
			_action = value;
			setAction("hero",value);
			
		}
	}
}